package com.icode.model;

import com.jfinal.plugin.activerecord.Model;

import java.util.List;

/**
 * User: alexz
 * Date: 14-11-7
 * Time: 下午4:27
 */
public class User extends Model<User> {
    public static final User USER = new User();

    private Integer id;
    private String username;
    private String password;

    public List<User> getUsers() {
        return USER.find("select * from user");
    }
}
